package com.zynn.service.module.es.bo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author admin
 *
 * 带权重的一度好友
 */
@Data
public class DegOneFrientWithWeight implements Serializable {



    private static final long serialVersionUID = 1L;



    /**
     * 好友标识
     */
    private Long userId;

    /**
     * 权重
     */
    private int weight;

    private DegOneFrientWithWeight(){}

    public DegOneFrientWithWeight(Long userId,int weight){
        this.userId = userId;
        this.weight = weight;
    }
}
